package com.wan37.logic.chat.service;

import com.wan37.logic.chat.domain.vo.ChatVO;
import com.wan37.logic.service.BasicEntityService;
import com.wan37.protobuf.message.client2server.game.GameChat;

import java.util.List;

/**
 * @author : luoyong
 * @date : 2020-07-27 15:26
 **/
public interface PrivateChatService {
    boolean update(ChatVO chatVO, String receiverId);

    boolean save(ChatVO chatVO, String receiverId);

    boolean delete(int id);

    boolean deleteBySenderIdAndReceiverId(String senderId, String receiverId);

    List<ChatVO> getPrivateChatDOBySenderIdAndReceiverId(String senderId, String receiverId);

    List<ChatVO> getPrivateChatDOBySenderId(String senderId, String receiverId);

}
